package com.darker.listener;

import java.util.EventObject;

/**
 * 事件对象
 */
public class EventerObject extends EventObject {

    /**
     * Constructs a prototypical Event.
     *
     * @param source The object on which the Event initially occurred.
     * @throws IllegalArgumentException if source is null.
     */
    public EventerObject(Object source) {
        super(source);
    }


    public void doEvent(){
        System.out.println("通知一个事件源：" + this.getSource());
    }
}
